package com.jl.model;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;



/**
 * <p>
 * 巡检指令表
 * </p>
 *
 * @author JiangJian
 * @since 2019-03-18
 */
@TableName("inspection_task")
public class InspectionTask implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 周期任务名称
     */
    private String name;
    /**
     * 任务的描述信息
     */
    private String description;

    /**
     * 设备类型id
     */
    private Long modelId;
    /**
     * 巡检指令内容json格式 [{modelName:'',componentName:''}]
     */
    private String content;
    /**
     * 巡检维护结果
     */
    private String result;
    /**
     * 是否为临时任务：0：表示周期任务，1：表示临时任务，2：表示由于故障插入
     */
    private Integer isTemp;

    /**
     * 指令执行时间
     */
    private Date startTime;
    /**
     * 指令完成时间
     */
    private Date finishTime;

    /**
     * 巡检执行人
     */
    private Long operatorId;

    /**
     * 班长id
     */
    private Long monitorId;

    /**
     * 班长名称
     */
    private String monitorName;
    /**
     * 班长评语
     */
    private String monitorComment;

    /**
     * 维修主管id
     */
    private Long directorId;
    /**
     * 维修主管名称
     */
    private String directorName;

    /**
     * 维修主管评语
     */
    private String directorComment;

    /**
     * 状态码：0:未启用，1:待执行，2:待班长确认,3:待主管确认,4:完成，5：驳回
     */
    private Integer status;
    /**
     * 创建时间
     */
    private Date gmtCreate;
    /**
     * 创建者id 如果值为0 则表示系统创建
     */
    private Long createId;
    /**
     * 修改时间
     */
    private Date gmtModified;
    /**
     * 修改者id
     */
    private Long modifyId;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Long getModelId() {
        return modelId;
    }

    public void setModelId(Long modelId) {
        this.modelId = modelId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public Integer getIsTemp() {
        return isTemp;
    }

    public void setIsTemp(Integer isTemp) {
        this.isTemp = isTemp;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Long getCreateId() {
        return createId;
    }

    public void setCreateId(Long createId) {
        this.createId = createId;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public Long getModifyId() {
        return modifyId;
    }

    public void setModifyId(Long modifyId) {
        this.modifyId = modifyId;
    }

    public Long getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(Long operatorId) {
        this.operatorId = operatorId;
    }

    public Long getMonitorId() {
        return monitorId;
    }

    public void setMonitorId(Long monitorId) {
        this.monitorId = monitorId;
    }

    public String getMonitorName() {
        return monitorName;
    }

    public void setMonitorName(String monitorName) {
        this.monitorName = monitorName;
    }

    public String getMonitorComment() {
        return monitorComment;
    }

    public void setMonitorComment(String monitorComment) {
        this.monitorComment = monitorComment;
    }

    public Long getDirectorId() {
        return directorId;
    }

    public void setDirectorId(Long directorId) {
        this.directorId = directorId;
    }

    public String getDirectorName() {
        return directorName;
    }

    public void setDirectorName(String directorName) {
        this.directorName = directorName;
    }

    public String getDirectorComment() {
        return directorComment;
    }

    public void setDirectorComment(String directorComment) {
        this.directorComment = directorComment;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }
}
